<template>
    <div id="ShareBtn"></div>
</template>

<script>
    import sosh from 'sosh'

    export default {
        name: "Share",
        props: {
            title: String
        },
        data() {
            return {}
        },
        mounted() {
            this.$nextTick(() => {
                sosh('#ShareBtn', {
                    title: this.title,
                    // sites: ['weixin,', 'weibo', 'qzone']
                })
            })
        },
        methods: {},
    }
</script>
<style>
    .sosh-qrcode-text{
        padding-top: 10px;
        box-sizing: border-box;
        margin-left: 0;
        width: 120px;
        font-size: 13px;
        line-height: 1.4;
    }
</style>
